import * as EditorHistoryActions from './actions';

export default ( state = EditorHistoryActions.initState, action ) => {
	switch ( action.type ) {
		case EditorHistoryActions.SET_CONFIG:
			return Object.assign( {}, state, { pageContentConfig: action.config } );
		default:
			return state;
	}

};


